internal/runtime/cgroup.lineReader.newline (field)
12 uses
internal/runtime/cgroup (current package)
line_reader.go#L44: newline int // index of the first newline in scratch.
line_reader.go#L66: newline: -1,
line_reader.go#L91: prevComplete := r.newline >= 0
line_reader.go#L97: copy(r.scratch, r.scratch[r.newline+1:r.n])
line_reader.go#L98: r.n -= r.newline + 1
line_reader.go#L100: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L101: if r.newline >= 0 {
line_reader.go#L131: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L135: if r.newline < 0 {
line_reader.go#L147: if r.newline < 0 {
line_reader.go#L173: if r.newline < 0 {
line_reader.go#L178: return r.scratch[:r.newline]
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)